package br.ufmg.ubicomp.droidguide.eventservice.exception;


public class EventServiceException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private EventServiceError errorCode;
	
	public EventServiceException(EventServiceError errorCode)
	{
		super(errorCode.toString());
		this.errorCode = errorCode;
	}

	public EventServiceError getErrorCode() {
		return errorCode;
	}
}
